package com.china08.yxyapi.service.manage.tec.teaching.homework.workcorrect.upd1;

import java.util.List;

import com.china08.yxyapi.api.manage.tec.teaching.homework.worklist.workcorrect.upd1.Workcorrect1FindClassStuTaskController.RespModel;
import com.china08.yxyapi.entity.mg.homework.HomeworkTaskClass;
import com.china08.yxyapi.entity.mg.homework.HomeworkTaskQues;
import com.china08.yxyapi.entity.mg.homework.HomeworkTaskReport;
import com.china08.yxyapi.entity.mg.homework.HomeworkTaskReportQues;

public interface HomeworkCorrect1Service {

    /**
     * 批阅页面需要的数据
     * 
     * @param homeworkTaskClass
     *            班级作业详情
     * @param homeworkTaskReports
     *            学生任务记录(一个学生一条)
     * @param homeworkTaskReportQues1
     *            学生主观题答题记录
     * @param homeworkTaskReportQues2
     *            学生通知类试题答题记录
     * @param count0bjective
     *            客观题数目
     * @param homeworkTaskQuesList
     *            任务主观题试题
     * @return
     */
    RespModel convertRespModel(HomeworkTaskClass homeworkTaskClass, List<HomeworkTaskReport> homeworkTaskReports,
            List<HomeworkTaskReportQues> homeworkTaskReportQues1, List<HomeworkTaskReportQues> homeworkTaskReportQues2,
            Integer count0bjective, List<HomeworkTaskQues> homeworkTaskQuesList);

    /**
     * 学生进行批阅状态修改
     * 
     * @param taskId
     *            任务Id
     * @param classId
     *            班级Id
     * @param studentId
     *            学生Id
     */
    public void correct(String taskId, String classId, String studentId);

    /**
     * 学生正确率统计
     * 
     * @param taskId
     *            任务Id
     * @param classId
     *            班级Id
     * @param studentId
     *            学生Id
     */
    public void stuTaskAccuracy(String taskId, String classId, String studentId);

    /**
     * 学生知识点统计
     * 
     * @param taskId
     *            任务Id
     * @param classId
     *            班级Id
     * @param studentId
     *            学生Id
     */
    public void stuTaskPointRate(String taskId, String classId, String studentId);

}
